package com.erlang4j.api.exceptions;

import com.ericsson.otp.erlang.OtpErlangObject;
import com.erlang4j.internal.exceptions.Erlang4jException;
import com.erlang4j.internal.exceptions.Erlang4jExceptionConstants;

/**
 * <p>
 * Thrown if the next message in the mail box is not of the correct form {Pid,Data}, where Pid is the server id.
 * </p>
 */
public class Erlang4jInvalidReplyException extends Erlang4jException {

	public Erlang4jInvalidReplyException(OtpErlangObject result) {
		super(Erlang4jExceptionConstants.invalidReplyExceptionKey, result);
	}

}
